package com.cdp.shiro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.List;

/**
 * @program: shiro-demo
 * @description:
 * @author:caipeng
 * @create:2021-11-16 09:07:01
 */
@Data
public class User extends BaseEntity{
    private String id;
    private String aliasName;
    private String userName;
    private String pwd;
    @TableField(exist = false)
    private List<Role> roles;
}
